package com.coda.clouddisk.mapper;


import com.coda.clouddisk.entity.KeSunAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;


@Mapper
public interface KeSunAttachmentMapper extends SuperMapper{


    /**
     * 根据分类查找文件
     * @param data
     */
    List<KeSunAttachment> findByCategory(Map<String, Object> data);

    /**
     * 按时间分类获取所有文件
     * @return
     */
    List<KeSunAttachment> getFileByTime(Map<String, Object> data);
}
